<include file="Public:header" />
<div id="zoneHeader">
    <h2>编辑广告主信息</h2>
    <ul>
        <li><a href="?c={$Think.const.CONTROLLER_NAME}" class="btn">返回</a></li>
    </ul>
</div><!--/#zoneHeader-->
<div id="zoneBody" class="noFooter">
    <div id="zoneBodyContent">
        <form action="?c={$Think.const.CONTROLLER_NAME}&a=doSave" id="formEdit">
            <input type="hidden" name="id" />
            <table border="0" cellpadding="0" cellspacing="0" class="table3">
                <tbody>
                    <tr>
                        <td width="10%" align="right">会员ID：</td>
                        <td width="40%"><span name="uid"></span></td>
                        <td width="10%" align="right">账户余额：</td>
                        <td width="40%"><span name="daymoney"></span></td>
                    </tr>
                    <tr>
                        <td align="right">会员名称：</td>
                        <td><span name="name"></span></td>
                        <td align="right"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td align="right">会员性质：</td>
                        <td>
                            <label> <input type="radio" name="type" value="1"><span>网站主</span></label>
                            <label> <input type="radio" name="type" value="2"><span>广告主</span></label>
                        </td>
                        <td align="right">联系人：</td>
                        <td><input name="contact" type="text" /></td>
                    </tr>
                    <tr>
                        <td align="right">会员状态：</td>
                        <td>
                            <select name="status">
                                <volist name=":C('USER_STATUS')" id="vo">
                                <option value="{$key}">{$vo}</option>
                                </volist>
                            </select>
                        </td>
                        <td align="right">QQ：</td>
                        <td> <input name="qq" type="text" />    </td>
                    </tr>
                    <tr>
                        <td align="right">E-mail：</td>
                        <td><input name="email" type="text" /></td>
                        <td align="right">联系电话：</td>
                        <td><input name="tel" type="text" /></td>
                    </tr>
                    <tr>
                        <td align="right">提示问题：</td>
                        <td><input name="question" type="text" /></td>
                        <td align="right">回答问题：</td>
                        <td><input name="answer" type="text" /></td>
                    </tr>
                    <tr>
                        <td align="right">会员密码：</td>
                        <td>
                            <input name="passwd" type="text" size="24">
                            <p>不修改密码请留空</p>
                        </td>
                        <td align="right">登录总计：</td>
                        <td><span name="login_num"></span></td>
                    </tr>
                    <tr>
                        <th colspan="4">其他信息</th>
                    </tr>
                    <tr>
                        <td align="right">注册IP：</td>
                        <td></td>
                        <td align="right">注册时间：</td>
                        <td><span name="reg_time"></span></td>
                    </tr>
                    <tr>
                        <td align="right">最后登录IP：</td>
                        <td><span name="last_login_ip"></span></td>
                        <td align="right">最后登录时间：</td>
                        <td><span name="last_login_time"></span></td>
                    </tr>
                </tbody>
            </table>
            <ul class="btnList">
              <li><button type="submit" class="btnFormEditSave">保存</button></li>
                <li><a href="?c=Ader" class="btn">返回</a></li>
            </ul>
        </form>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<script>
$(function(){
    var record;
    <notempty name="record">
    record = {$record|json_encode};
    record.password = '';
    </notempty>

    new Form($('#formEdit'), new Model(record));
})
</script>
<include file="Public:footer" />
